#ifndef PARSER_H
#define PARSER_H
#include <string>
#include <sstream>
#include "Globals.h"


class Parser
{
        public:
       
        void WelcomeMsg()
    {
       system("cls");
       printf("*****************************************************\n"          
              "*                                                   *\n"\
              "*             Welcome to Meta-L crypter             *\n"\
              "*                                                   *\n"\
              "*****************************************************\n\n");            
    }
    
    void Menu(){ printf(" a) Binary Path               [%s]"\
                        "\n b) Output binary path        [%s]"\
                        "\n c) Obfuscation methods       [%s]"\
                        "\n d) Help --abc\n e) About"\
                        "\n f) Exit\n",binIn,binOut,methods);}
 
    void Target() {printf("Enter target path: \n");}
    void Output() {printf("Enter output binary path: \n");}
    void Help()   {printf("Help --abc.\n");}
   
    void split(string args)
    {
         char *args_split[sizeof(args)];
         char *pch;
         pch = strtok ((char*)args.c_str()," ");
         
         int i,j;
         i=0;
         while(pch!=NULL){
                   args_split[i] = pch;
                   pch = strtok (NULL, " ");
                   i+=1;
         }  

      /*  for(j=0;j<=i-1;j++)
        {
          cout << args_split[j] << " " << j << " ";  
        }
      */
    }
   
   
    void args()
    {
         
         
    }
   
    void Parse(char* argv[])
    {
       
    }
};

#endif 
